<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../../js/vue.js"></script>
</head>
<body>
<div id="id_div">
    <ul>
        <li v-for="(item,index) in arrays" >{{index+1}} - {{item.no}}</li>
    </ul>
</div>

<script>
    const app=new Vue({
        el:"#id_div",
        data:{
            n:1,
            arrays:[
                {'no':1},
                {'no':2},
                {'no':3}
            ]
        },
        methods:{
            getNo:function () {
                return this.n++;
            }
        }
    })
</script>
</body>
</html>